<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Adhoc SQL Queries - Please login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Adhoc SQL Queries</title>
</head>
<body>
    <form id="form1" runat="server">
    <div align="left">
    <table cellpadding="10" cellspacing="10" style="border-style:none; border-width:0; width:500;" width="500">
        <tr>
            <td align="center" style="width:500;" width="500">
                <table cellpadding="10" cellspacing="10" style=" border:solid 1px black; width:400;" width="400">
                    <tr>
                        <td align="center" colspan="2">
                            <asp:Label ID="lblTitle" Font-Bold="True" Font-Size="Medium" runat="server" Text="Please Login" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <asp:Label ID="lblIntro" Font-Bold="True" Font-Size="Small" runat="server" Text="A valid user name and password are required to enter this area." />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width:200;" width="200">
                            <asp:Label ID="lblUsername" Font-Bold="True" Font-Size="Small" runat="server" Text="User Name:"></asp:Label>
                        </td>
                        <td align="left" style="width:200;" width="200">
                            <asp:TextBox ID="txtUsername" runat="server" Text="" Width="100"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvUsername" runat="server" ControlToValidate="txtUsername"
                                Display="Dynamic" ErrorMessage="User Name is required">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblPassword" Font-Bold="True" Font-Size="Small" runat="server" Text="Password:"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtPassword" runat="server" Text="" TextMode="Password" Width="100"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvPassword" runat="server" ControlToValidate="txtPassword"
                                Display="Dynamic" ErrorMessage="Password is required">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <asp:Label ID="lblError" ForeColor="Red" Font-Bold="True" Font-Size="Small" runat="server" Text=""></asp:Label>
                            <asp:ValidationSummary ID="ValidationSummary1" ForeColor="Red" Font-Bold="True" Font-Size="Small" runat="server" DisplayMode="List"/>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <asp:Button Font-Bold="True" ID="btnSubmit" OnClick="btnSubmit_Click" runat="server" Text="Login" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>

